package org.jeecg.modules.approve.cancel.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: 销户审批
 * @Author: 月月鸟
 * @Date:   2021-09-02
 * @Version: V1.0
 */
@Data
@TableName("bike_approve_cancel")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="bike_approve_cancel对象", description="销户审批")
public class BikeApproveCancelRes implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
	/**用户id*/
	//@Excel(name = "用户id", width = 0)
    @ApiModelProperty(value = "用户id")
    private String userId;
    /**会员号*/
    @Excel(name = "会员号", width = 15)
    @ApiModelProperty(value = "会员号")
    private String userCode;
    /**会员姓名*/
    @Excel(name = "姓名", width = 15)
    @ApiModelProperty(value = "姓名")
    private String userName;
    @Excel(name = "注册时间",width = 15,format = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "注册时间")
    private java.util.Date userTime;
    /**申请人*/
    @Excel(name = "申请人", width = 15)
    @ApiModelProperty(value = "申请人姓名")
    private String applyBy;
    /**申请时间*/
    @Excel(name = "申请时间",width = 15,format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "申请时间")
    private java.util.Date createTime;

    /**申请金额*/
    @Excel(name = "申请金额", width = 15)
    @ApiModelProperty(value = "申请金额")
    private java.math.BigDecimal freeAmount;
	/**审批状态 0未审批1通过2驳回	*/
	@Excel(name = "审批状态", width = 15, dicCode = "approve_status")
	@Dict(dicCode = "approve_status")
    @ApiModelProperty(value = "审批状态")
    private String approveStatus;
	/**处理人*/
	@Excel(name = "审批人", width = 15)
    @ApiModelProperty(value = "审批人")
    private String handleBy;
	/**审批时间*/
	@Excel(name = "审批时间", width = 15, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "审批时间")
    private java.util.Date handleTime;


    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "开始时间 搜索条件")
    private java.util.Date excStartTime;
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "结束时间 搜索条件")
    private java.util.Date excEndTime;

    /**处理情况*/
	//@Excel(name = "处理情况", width = 0)
    @ApiModelProperty(value = "处理情况")
    private String handleCause;
    /**销户原因  1,会员销户*/
    //@Excel(name = "销户原因", width = 0,dicCode = "apply_cause")
    @ApiModelProperty(value = "销户原因")
    @Dict(dicCode = "apply_cause")
    private String applyCause;



    //@Excel(name = "申请人",width = 0)
    @ApiModelProperty(value = "申请人账号")
    private String createBy;
    //
	///**修改人*/
    //@ApiModelProperty(value = "修改人")
    //private String updateBy;
	///**修改时间*/
	//@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    //@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    //@ApiModelProperty(value = "修改时间")
    //private java.util.Date updateTime;
    //
    //
    //
	/////**备注*/
	////@Excel(name = "备注", width = 15)
    ////@ApiModelProperty(value = "备注")
    //private String memo;

    /////**申请时间*/
    ////@Excel(name = "申请时间", width = 15, format = "yyyy-MM-dd HH:mm:ss")
    ////@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    ////@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    ////@ApiModelProperty(value = "申请时间")
    //private java.util.Date applyTime;
}
